package cn.springmvc.mapper;

import cn.springmvc.model.SysFunction;
import cn.springmvc.model.SysFunctionCriteria;
import java.util.List;
import org.apache.ibatis.annotations.Param;

/**
 * ClassName: SysFunctionMapper <br/>
 * Function: 系统功能. <br/>
 * date: 2016年6月8日 下午4:31:18 <br/>
 *
 * @author i1093108915@yeah.net
 * @version 
 * @since JDK 1.6
 */
public interface SysFunctionMapper {
    int countByExample(SysFunctionCriteria example);

    int deleteByExample(SysFunctionCriteria example);

    int deleteByPrimaryKey(String sid);

    int insert(SysFunction record);

    int insertSelective(SysFunction record);

    List<SysFunction> selectByExample(SysFunctionCriteria example);

    SysFunction selectByPrimaryKey(String sid);

    int updateByExampleSelective(@Param("record") SysFunction record, @Param("example") SysFunctionCriteria example);

    int updateByExample(@Param("record") SysFunction record, @Param("example") SysFunctionCriteria example);

    int updateByPrimaryKeySelective(SysFunction record);

    int updateByPrimaryKey(SysFunction record);
}